Xbasic
SQL::ConnectionListServers Method
Syntax
Server_List as C = ListServers()
Returns
- Server_List Character
A list of servers for the Application Programming Interface (API) selected for the current connection.
Description
Return a list of servers for the current connection Application Programming Interface(API).
Discussion
The ListServers() method returns a list of servers for the Application Programming Interface (API) selected for the current connection.
Example
dim conn as SQL::Connection dim connString as C connString = "{A5API='Access', FileName='c:\program files\a5v8\mdbfiles\alphasports.mdb'}" if .not. conn.open(connString) ui_msg_box("Error", conn.CallResult.text) end end if ui_msg_box("Servers", conn.ListServers()) conn.close()
See Also